<template>
	<view>
		<my-status-bar />
		<view class="p-10">
			<template v-for="(item, index) in appCategoryList" :index="index">
				<applicationItem v-bind="item" :appList="item.appList" />
			</template>
		</view>
	</view>
</template>

<script setup>
	import applicationItem from './application-item.vue';

	const appCategoryList = [{
			title: '信息基础',
			has: ['中层以上'],
			appList: [{
					name: '通信网络',
					path: '/pages/application/xxjc/network/index',
					icon: 'work/txwl.png',
					has: ['中层以上']
				},
				// {
				// 	name: '综管平台',
				// 	path: '',
				// 	icon: 'work/zgpt.png'
				// },
				{
					name: '数据中心',
					path: '/pages/application/xxjc/sjzx/index',
					icon: 'work/sjzx.png',
					has: ['中层以上']
				},
				{
					name: '应急调度',
					path: '/pages/application/xxjc/yjdd/index',
					icon: 'work/yjdd.png',
					has: ['中层以上']
				},
				{
					name: '视频监控',
					path: '/pages/application/xxjc/spjk/index',
					icon: 'work/spjk.png',
					has: ['中层以上']
				}
				// {
				// 	name: '安全一张图',
				// 	path: '/pages/application/xxjc/aqyzt/index',
				// 	icon: 'work/aqyzt.png'
				// },
				// {
				// 	name: '产运销一张图',
				// 	path: '/pages/application/xxjc/cyx/index',
				// 	icon: 'index/cyx.svg'
				// },
			]
		},
		{
			title: '矿山设计',
			has: ['中层以上'],
			appList: [{
					name: '地质保障',
					path: '/pages/application/kssj/geology/index',
					icon: 'work/dzbz.png',
					has: ['中层以上']
				},
				{
					name: '穿孔爆破',
					path: '/pages/application/kssj/ckbp/index',
					icon: 'work/ckbp.png',
					has: ['中层以上']
				},
				{
					name: '采矿设计',
					path: '/pages/application/kssj/mining/index',
					icon: 'work/cksj.png',
					has: ['中层以上']
				}
			]
		},
		// {
		// 	title: '智能穿爆',
		// 	appList: [{
		// 			name: '智能穿爆',
		// 			path: '/pages/application/zncb/burst/index',
		// 			icon: 'work/zncb.png',
		// 		},
		// 		// {
		// 		// 	name: '视频监控',
		// 		// 	path: '/pages/application/xxjc/spjk/index',
		// 		// 	icon: 'work/spjk.png'
		// 		// },
		// 	]
		// },
		{
			title: '矿山工程',
			has: ['中层以上'],
			appList: [{
					name: '智能穿爆',
					path: '/pages/application/zncb/burst/index',
					icon: 'work/zncb.png',
					has: ['中层以上']
				},
				{
					name: '间断工艺',
					path: '/pages/application/ksgc/vehicle/index',
					icon: 'work/jdgy.png',
					has: ['中层以上']
				},
				// {
				// 	name: '破碎站无人值守',
				// 	path: '/pages/application/ksgc/psz/index',
				// 	icon: 'work/pszwrzs.png',
				// 	has: ['中层以上']
				// },
				// {
				// 	name: '车间集控',
				// 	path: '/pages/application/ksgc/cjjk/index',
				// 	icon: 'work/cjjk.png',
				// },
				// {
				// 	name: '智能润滑',
				// 	path: '/pages/application/ksgc/znrh/index',
				// 	icon: 'work/znrh.png',
				// 	has: ['中层以上']
				// },
				// {
				// 	name: '智能装车',
				// 	path: '/pages/application/ksgc/IntelligentLoading/index',
				// 	icon: 'work/znzc.png',
				// 	has: ['中层以上']
				// },
				{
					name: '半连续工艺',
					path: '/pages/application/ksgc/blxgy/index',
					icon: 'work/blxgy.png',
					has: ['中层以上']
				}
			]
		},
		{
			title: '智能辅助',
			has: ['普通用户'],
			appList: [
				// {
				// 	name: '能耗精细化',
				// 	path: '/pages/application/znfz/nhjxh/index',
				// 	icon: 'index/nhjxh.svg',
				// 	has: ['普通用户']
				// },
				{
					name: '防排水',
					path: '/pages/application/znfz/fps/index',
					icon: 'work/fps.png',
					has: ['普通用户']
				},
				{
					name: '供配电',
					path: '/pages/application/znfz/electric/index',
					icon: 'work/gpd.png',
					has: ['普通用户']
				},
				{
					name: '火灾监测',
					path: '/pages/application/znfz/fireMonitoring/index',
					icon: 'work/hzjc.png',
					has: ['普通用户']
				},
				{
					name: '水害监测',
					path: '/pages/application/znfz/shjc/index',
					icon: 'work/shjc.png',
					has: ['普通用户']
				},
				{
					name: '环境监测',
					path: '/pages/application/znfz/hjjc/index',
					icon: 'work/hjjc.png',
					has: ['普通用户']
				},
				{
					name: '设备巡检',
					path: '/pages/application/znfz/sbxj/index',
					icon: 'work/sbxj.png',
					has: ['普通用户']
				},
				{
					name: '风险隐患排查',
					path: '/pages/application/znfz/aqxj/index',
					icon: 'work/aqjc.png',
					has: ['普通用户']
				}
			]
		},
		{
			title: '管理决策与智能化园区',
			has: ['中层以上'],
			appList: [{
					name: '生产信息',
					path: '/pages/application/znyq/scxx/index',
					icon: 'work/aqjc.png',
					has: ['中层以上']
				},
				{
					name: '经营信息',
					path: '/pages/application/znyq/businessDecision/index',
					icon: 'work/scjc.png',
					has: ['中层以上']
				},
				{
					name: '决策支持',
					path: '/pages/application/znyq/jczc/index',
					icon: 'work/jczc.png',
					has: ['中层以上']
				},
				{
					name: '智慧园区',
					path: '/pages/application/znyq/intelligentPark/index',
					icon: 'work/zhyq.png',
					has: ['中层以上']
				}
			]
		}
	];
	onShow(() => {});
</script>